﻿using System;

namespace ClassLibrary1
{
    public static class ThrowHelper
    {
         public static void ThrowIfNullOrEmpty(this string value, string title)
         {
             if(string.IsNullOrEmpty(value))
                 throw new ArgumentNullException(title);
         }
    }
}